package com.homedo.async.mysql.support.convertor.forcolumnval;

/**
 * @author jgshun
 * @date 2020/1/20 3:20 PM
 */
public class NumericConditionColumnValConvertor implements ConditionColumnValConvertorI {

    private static final NumericConditionColumnValConvertor INSTANCE = new NumericConditionColumnValConvertor();

    private NumericConditionColumnValConvertor() {
    }

    public static NumericConditionColumnValConvertor getInstance() {
        return INSTANCE;
    }

    @Override
    public String convertor(Object columnVal) {
        if (columnVal == null) {
            return null;
        }
        return columnVal.toString();
//        return new StringBuffer().append("'").append(columnVal.toString()).append("'").toString();
    }


}
